package com.jgb.android.api;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;


public class BaseActivity extends ActionBarActivity {
    public Activity activity;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        activity = this;
        AppManager.getAppManager().addActivity(this);
    }

    @Override
    public void onBackPressed() {
        AppManager.getAppManager().finishActivity();
    }

}
